package com.ly.hotel.model;


/**
 * 
 */
public class DeviceInfo implements java.io.Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 7399764850261572883L;
	public static final int ENABLE = 1;
	public static final int STOP = 0;
	public static final int DELETEED = 10;
	
	//运行状态，在线
	public static final int ONLINE = 1;
	//离线
	public static final int OFFLINE = 2;
		//
	private Integer id;
	private String name;

	//设备ID
	private String mac;
	
	//分类id
	private Integer categoryId;
	
	//创建时间
	private String createTime;
	
	//连接时间
	private String onlineTime;
	
	//ip地址
	private String ipaddr;
	

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getMac() {
		return mac;
	}

	public void setMac(String mac) {
		this.mac = mac;
	}


	public Integer getCategoryId() {
		return categoryId;
	}

	public void setCategoryId(Integer categoryId) {
		this.categoryId = categoryId;
	}


	public String getIpaddr() {
		return ipaddr;
	}

	public void setIpaddr(String ipaddr) {
		this.ipaddr = ipaddr;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public String getOnlineTime() {
		return onlineTime;
	}

	public void setOnlineTime(String onlineTime) {
		this.onlineTime = onlineTime;
	}
	
}
